#ifndef GUI_H
#define GUI_H



#include "server_listener.h"
#include <QtGui>



class gui: public QMainWindow
{

	Q_OBJECT

public:

	gui(QWidget *parent = 0, Qt::WFlags flags = 0);
	~gui();
	QLabel* test;


private:

};



class s_gui
{

public:
	
	static s_gui* get_instance();
	void create_gui();

	gui* g;

	int x;


private:

	s_gui(int _x):x(_x){};
	s_gui(const s_gui&);
	s_gui& operator=(const s_gui& x);

};



static s_gui* server_gui=s_gui::get_instance();



#endif
